package com.hotelvip.common.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 定义树节点(例如zTree)对象类型
 * @author Lzh
 * @date 2020/12/10 10:07
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "树结构对象",description = "树结构对象Node")
public class Node implements Serializable {
    private static final long serialVersionUID = 6904860186603541043L;
    @ApiModelProperty(value = "id",name = "id")
    private Integer id;
    @ApiModelProperty(value = "分类属性名称",name = "name")
    private String name;
    @ApiModelProperty(value = "父级id",name = "parentId")
    private String parentId;
}
